package com.ruoyi.store.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工资提成对象 t_payslip_rate
 * 
 * @author ml
 * @date 2023-05-02
 */
public class PayslipRate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "")
    private Long userId;

    /**  */
    @Excel(name = "")
    private String userName;

    /**  */
    @Excel(name = "")
    private BigDecimal basicSalary;

    /** 现金 */
    @Excel(name = "现金")
    private BigDecimal cashRate;

    /** 充值 */
    @Excel(name = "充值")
    private BigDecimal rechargeRate;

    /** 加班 */
    @Excel(name = "加班")
    private BigDecimal workMoreRate;

    /** 会员 */
    @Excel(name = "会员")
    private BigDecimal memberRate;

    /** 会员加班 */
    @Excel(name = "会员加班")
    private BigDecimal memberMoreRate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setBasicSalary(BigDecimal basicSalary) 
    {
        this.basicSalary = basicSalary;
    }

    public BigDecimal getBasicSalary() 
    {
        return basicSalary;
    }
    public void setCashRate(BigDecimal cashRate) 
    {
        this.cashRate = cashRate;
    }

    public BigDecimal getCashRate() 
    {
        return cashRate;
    }
    public void setRechargeRate(BigDecimal rechargeRate) 
    {
        this.rechargeRate = rechargeRate;
    }

    public BigDecimal getRechargeRate() 
    {
        return rechargeRate;
    }
    public void setWorkMoreRate(BigDecimal workMoreRate) 
    {
        this.workMoreRate = workMoreRate;
    }

    public BigDecimal getWorkMoreRate() 
    {
        return workMoreRate;
    }
    public void setMemberRate(BigDecimal memberRate) 
    {
        this.memberRate = memberRate;
    }

    public BigDecimal getMemberRate() 
    {
        return memberRate;
    }
    public void setMemberMoreRate(BigDecimal memberMoreRate) 
    {
        this.memberMoreRate = memberMoreRate;
    }

    public BigDecimal getMemberMoreRate() 
    {
        return memberMoreRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("basicSalary", getBasicSalary())
            .append("cashRate", getCashRate())
            .append("rechargeRate", getRechargeRate())
            .append("workMoreRate", getWorkMoreRate())
            .append("memberRate", getMemberRate())
            .append("memberMoreRate", getMemberMoreRate())
            .toString();
    }
}
